Optimal. Leaf size=74 \[ \frac {(A+C) \sin (c+d x) \sqrt {b \cos (c+d x)}}{d \sqrt {\cos (c+d x)}}-\frac {C \sin ^3(c+d x) \sqrt {b \cos (c+d x)}}{3 d \sqrt {\cos (c+d x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 74, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {17, 3013} \[ \frac {(A+C) \sin (c+d x) \sqrt {b \cos (c+d x)}}{d \sqrt {\cos (c+d x)}}-\frac {C \sin ^3(c+d x) \sqrt {b \cos (c+d x)}}{3 d \sqrt {\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 17
Rule 3013
Rubi steps
\begin {align*} \int \sqrt {\cos (c+d x)} \sqrt {b \cos (c+d x)} \left (A+C \cos ^2(c+d x)\right ) \, dx &=\frac {\sqrt {b \cos (c+d x)} \int \cos (c+d x) \left (A+C \cos ^2(c+d x)\right ) \, dx}{\sqrt {\cos (c+d x)}}\\ &=-\frac {\sqrt {b \cos (c+d x)} \operatorname {Subst}\left (\int \left (A+C-C x^2\right ) \, dx,x,-\sin (c+d x)\right )}{d \sqrt {\cos (c+d x)}}\\ &=\frac {(A+C) \sqrt {b \cos (c+d x)} \sin (c+d x)}{d \sqrt {\cos (c+d x)}}-\frac {C \sqrt {b \cos (c+d x)} \sin ^3(c+d x)}{3 d \sqrt {\cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 52, normalized size = 0.70 \[ \frac {\sin (c+d x) \sqrt {b \cos (c+d x)} (6 A+C \cos (2 (c+d x))+5 C)}{6 d \sqrt {\cos (c+d x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.54, size = 46, normalized size = 0.62 \[ \frac {{\left (C \cos \left (d x + c\right )^{2} + 3 \, A + 2 \, C\right )} \sqrt {b \cos \left (d x + c\right )} \sin \left (d x + c\right )}{3 \, d \sqrt {\cos \left (d x + c\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.24, size = 47, normalized size = 0.64 \[ \frac {\left (C \left (\cos ^{2}\left (d x +c \right )\right )+3 A +2 C \right ) \sin \left (d x +c \right ) \sqrt {b \cos \left (d x +c \right )}}{3 d \sqrt {\cos \left (d x +c \right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.05, size = 57, normalized size = 0.77 \[ \frac {C \sqrt {b} {\left (\sin \left (3 \, d x + 3 \, c\right ) + 9 \, \sin \left (\frac {1}{3} \, \arctan \left (\sin \left (3 \, d x + 3 \, c\right ), \cos \left (3 \, d x + 3 \, c\right )\right )\right )\right )} + 12 \, A \sqrt {b} \sin \left (d x + c\right )}{12 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.95, size = 72, normalized size = 0.97 \[ \frac {\sqrt {\cos \left (c+d\,x\right )}\,\sqrt {b\,\cos \left (c+d\,x\right )}\,\left (12\,A\,\sin \left (2\,c+2\,d\,x\right )+10\,C\,\sin \left (2\,c+2\,d\,x\right )+C\,\sin \left (4\,c+4\,d\,x\right )\right )}{12\,d\,\left (\cos \left (2\,c+2\,d\,x\right )+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________